IK Modify Image Saturation


IK Modify Image Saturation Image Number, Percentage

Description

This command will modify the saturation of an image. A value of 0.0 will result in a grayscale image (using DESATURATE_LUMINOSITY), whereas a value of 100.0 will result in the image itself. This command does not work for render targets but the same effect can be achieved using the effect commands of Image Kit and a pixel shader.

Parameters

Image NumberIntegerThe ID of the image.
PercentageFloatPercentage of desaturation.


Index